<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>添加员工</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css">
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }

        #sidebar a {
            display: block;
            padding: 10px 15px;
            text-decoration: none;
            color: #fff;
        }

        #sidebar a:hover {
            background-color: #444;
        }

        .inputting {
            padding: 8px;
            border: 1px solid #ccc;
            width: 100%;
            border-radius: 5px;
            box-sizing: border-box;
        }

        #wrap {
            margin-left: 0;
            margin-top: 20px;
            padding: 20px;
            background-color: #fff;
        }

        .table {
            width: 45%;
            border-collapse: collapse;
        }

        .table td, .table th {
            padding: 8px;
            border: none;
            text-align: left;
        }

        .button {
            padding: 10px 20px;
            border-radius: 5px;
            border: none;
            background-color: #0000FF;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        /*鼠标悬停时刻样式*/
        .button:hover {
            text-decoration: underline;
        }


    </style>
</head>

<body>
<div id="wrap">
    <div id="top_content">

        <div id="content">
            <p id="whereas">
            </p>
            <h1>添加员工</h1>
            <form action="add" method="post">
                <table width="43%" class="table">
                    <tr>
                        <td width="13%" align="right" valign="middle">
                            姓名:
                        </td>
                        <td width="87%" align="left" valign="middle">
                            <label>
                                <input type="text" class="inputting" name="name"/>
                            </label>
                        </td>
                    </tr>

                    <tr>
                        <td valign="middle" align="right">
                            职位:
                        </td>
                        <td valign="middle" align="left">
                            <label>
                                <input type="text" class="inputting" name="job"/>
                            </label>
                        </td>
                    </tr>

                    <tr>
                        <td valign="middle" align="right">
                            薪水:
                        </td>
                        <td valign="middle" align="left">
                            <label>
                                <input type="text" class="inputting" name="salary"/>
                            </label>
                        </td>
                    </tr>

                </table>
                <p>
                    <input type="submit" class="button" value="提交"/>
                </p>
            </form>
        </div>
    </div>

</div>
</body>
</html>
